package com.graduation.ucenter.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.base.model.R;
import com.graduation.ucenter.model.po.Authority;
import com.graduation.ucenter.model.po.Role;

import java.util.List;

/**
 * @Author: 小何
 * @Description: TODO
 * @DateTime: 2023/10/31 15:05
 **/
public interface AuthorityService extends IService<Authority> {


    R<List<Authority>> listAuthority(Integer page, Integer pageSize, Authority authority);


    R<String> addAuthority(Authority authority);

    R<String> removeAuthorityAndBindRole(Integer authorityId);

}
